<meta charset="utf-8"/>
<?php
//退出页面

  include 'comm.php';

  $username = $_COOKIE['username'];

  setCookie("username");//注销
  setCookie("uid",'',time()-3600);//注销,后面的内容和时间参数可传可不传
  setCookie("islogin");//注销

  echo $username."再见！<br/>";

?>

<!--注销掉后给个链接重新登录-->
  <a href="login.php">重新登录</a>

